import Vue from 'vue'
import App from './App.vue'
import router from './routers'
import store from './stores'

import axios from 'axios'
Vue.prototype.axios = axios;


//Vue.filter(serWH);
Vue.filter('setWH',(url , arg)=>{
  return url.replace(/w\.h/,arg);
});
//全局函数
//Vue.prototype.setWH = function(url,arg){
 // return url.repalce(/w\.h/,arg);
//};


Vue.config.productionTip = false


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
